<?php
  require_once 'dbconnect.php';
  $query = mysql_query("SELECT * FROM news ORDER BY date DESC") or die(mysql_error());
  while ($lekerdezes = mysql_fetch_array($query)) {
      echo '<div id="news"><div>'.$lekerdezes["date"].'</div><div>'.$lekerdezes["new"].'</div></div>';
  }
?>